package com.ruoyi.common.core.domain.heytalk.dto;

import com.ruoyi.common.annotation.heytalk.EnumValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 设置朋友圈权限入参DTO
 * @author zhusy
 * @since 2021/11/10
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("设置朋友圈权限入参DTO")
public class FriendSetMomentAuthDTO {

    @ApiModelProperty(value = "朋友ID", name = "id", required = true)
    @NotBlank(message = "朋友ID不能为空")
    private String friendId;

    /** 看我（1不看 0看我） */
    @ApiModelProperty(value = "看我（1不看 0看我）", name = "lookMe", required = true)
    @NotNull(message = "是否看我不能为空")
    @EnumValue(intValues = {0, 1})
    private Integer lookMe;

    /** 看他（1不看 0看他） */
    @ApiModelProperty(value = "看他（1不看 0看他）", name = "lookHim", required = true)
    @NotNull(message = "是否看他不能为空")
    @EnumValue(intValues = {0, 1})
    private Integer lookHim;

}
